﻿using Autodesk.AutoCAD.ApplicationServices;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Runtime;
//using Prompts; // This is the name of the module
namespace TkModify
{
	public class Startup : IExtensionApplication
	{
		public void Initialize()
		{
			//SplashScreen ss = new SplashScreen();
			//// Rather than trusting these properties to be set
			//// at design-time, let's set them here
			//ss.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
			//ss.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
			//ss.Opacity = 0.8;
			//ss.TopMost = true;
			//ss.ShowInTaskbar = false;// Now let's disply the splash-screen

			//Application.ShowModelessDialog(Application.MainWindow, ss, false);

			//ss.Update();
			//// This is where your application should initialise,
			//// but in our case let's take a 3-second nap
			//System.Threading.Thread.Sleep(1000);
			//ss.Close();

			Editor ed = Application.DocumentManager.MdiActiveDocument.Editor;

            ed.WriteMessage("\n命令<xgsxk>进行块及属性快的修改");

			
		}
		public void Terminate()
		{
		}
	}
}